package com.ftg.selflearn;

import org.springframework.boot.test.context.SpringBootTest;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author Guo
 * @date 2022/5/1
 */
@SpringBootTest
public class test01 {

//    @Autowired
//    RabbitTemplate rabbitTemplate;
//
//    @Test
//    public void myTest(){
//        ConcurrentHashMap myMap = new ConcurrentHashMap();
//        myMap.put(0,"神司马懿");
//        myMap.put(1,"界徐盛");
//        myMap.put(2,"曹钝");
//        myMap.put(3,"骆统");
//        rabbitTemplate.convertAndSend("swl.direct","1",myMap);
//    }


}
